<?php

if (!defined('TOBBIVM'))
	header('location:/template/notrepassing.php');
/**
 * This file is part of TobbiVMShop.
 *
 * TobbiVMShop is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 3 of the License, or
 * (at your option) any later version.
 *
 * TobbiVMShop is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with TobbiVMShop.  If not, see <http://www.gnu.org/licenses/>.
 */
/**
 * config-data for paypal
 * Here you can set the sandbox-mode for testing and
 * set the Live-Acountdata to use the paymentmethod
 * used from paypal.payment.php
 *
 * @version    $Id$
 * @package    TobbiVM-Shop
 * @copyright  Copyright (C) 2012
 * @author     Norbert Gebert
 * @license    GPL3
 */

/** 
 * Sandbox Mode - TRUE/FALSE
 */
//$host_split = explode('.',$_SERVER['HTTP_HOST']);
//$sandbox = $host_split[0] == 'sandbox' && $host_split[1] == 'domain' ? TRUE : FALSE;
//$domain = $sandbox ? 'http://sandbox.domain.com/' : 'http://tobbivmshop/';
$sandbox = TRUE;
$domain = 'http://sandbox.domain.com/';

/*
 * Setting PayPal Developer Account Email Address
 * This is the email address that you use to sign in to http://developer.paypal.com
 * Important for Sandbox!
 */
$developer_account_email = 'Shop@ef-Flex.de';

/*
 * PayPal Gateway API Credentials
 * These are your PayPal API credentials for working with the PayPal gateway directly.
 * These are used any time you're using the parent PayPal class within the library.
 * 
 * We're using shorthand if/else statements here to set both Sandbox and Production values.
 * Your sandbox values go on the left and your live values go on the right.
 * 
 * You may obtain these credentials by logging into the following with your PayPal account: https://www.paypal.com/us/cgi-bin/webscr?cmd=_login-api-run
 */
$api_username = $sandbox ? 'Shop-facilitator_api1.ef-Flex.de' : 'Shop_api1.ef-Flex.de';
$api_password = $sandbox ? '1393930295' : 'BPNLQTKL9JHHCBLT';
$api_signature = $sandbox ? 'AFcWxV21C7fd0v3bYYYRCpSSRl31AYezBQ4xwxGfZHl4t2nNbQMo9FEL' : 'A4ZsjywnYyc8Dfc.bWk9Fj3cFxocAH';

?>